import request from '@/utils/request'
interface CartProps {
    id: string,
    count?: number, // 最新的数量
    increment?: number // 增量值
}
export function postEditCart(params: CartProps) {
    return request('/api/cart/edit', {
        method: 'POST',
        data: params
    })
}
export function apiGetCart() {
    return request('/api/getCart')
}